import CommonApi from './common'

// 路产赔偿
class RoadPropertyCompensationApi extends CommonApi {
    constructor() {
        super()
        this.scope = '/lawcase'
    }
    // 详情
    detail(data) {
        const path = this.resolvePath('/detailsById')
        return this.post(path, data)
    }
    // 统计报表
    statistics(data) {
        const path = this.resolvePath('/statistics')
        return this.post(path, data)
    }

    customDownloadPath() {
        const path = this.resolvePath('/export')
        return path
    }
}

export default RoadPropertyCompensationApi
